package com.sxj.corejava.code15_反射;

public class Person {

    private String name;
    protected int age;
    String gender;
    public double weight;

    public void test01(String s){
        System.out.println("这是父类中public修饰的方法");
    }

    void test02(){
        System.out.println("这是父类中无修饰符的方法");
    }

    protected void test03(){
        System.out.println("这是父类中protected修饰的方法");
    }

    private void test04(){
        System.out.println("这是父类中private修饰的方法");
    }

}
